<div id="content">
    <div class="search">
        <!-- <label>Search</label>  -->
        <input type="text" ng-model="searchTerm"/>

    </div>

    <div id="image-grid">
        <span ng-repeat="img in images" ng-class="{selected: img.selected}" ng-click="img.selected = !img.selected">
            <img ng-src="http://farm{{img.farm}}.staticflickr.com/{{img.server}}/{{img.id}}_{{img.secret}}_q.jpg">
            <div class="text">${{img.tags.split(' ').length}}</div>
            <div class="description">{{img.tags | cut:true:50:' ...'}}</div>
        </span>
    </div>

    <button ng-click="addToCart()">Add to Cart</button>
</div>